package com.bonc.modules.sys.service.impl;

import com.bonc.datasource.annotation.DataSource;
import com.bonc.modules.sys.dao.SysBossUserDao;
import com.bonc.modules.sys.entity.SysUserEntity;
import com.bonc.modules.sys.service.SysBossUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("sysBossUserService")
@DataSource("data")
public class SysBossUserServiceImpl implements SysBossUserService {

    @Autowired
    private SysBossUserDao sysBossUserDao;

    @Override
    public List<Map<String, String>> getNotExistsUserFor4a(Map<String, Object> param) {
        return this.sysBossUserDao.getNotExistsUserFor4a(param);
    }

    @Override
    public void add4AAcountUser(SysUserEntity user) {
        this.sysBossUserDao.add4AAcountUser(user);
    }
}
